package com.cy.pj.sys.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 通过此是对象,封装从数据库查到的sys_roles信息,一条记录就是一个SysRole对象
 * 此外,还可以封装客户端的请求数据
 */
@Data
@Accessors(chain = true)
public class SysRole implements Serializable {
    private static final long serialVersionUID = 8094272493294939469L;
    private Integer id;
    private String name;
    private String note;
    private Date createdTime;
    private Date modifiedTime;
    private String createdUser;
    private String modifiedUser;

}
